package pl.edu.agh.neuraleconomy.ui.chart.provider;

import pl.edu.agh.neuraleconomy.core.ta.indicator.ClosingPriceCalculator;
import pl.edu.agh.neuraleconomy.model.exchange.Exchange;

public class ClosingPriceSerieProvider extends AbstractSerieProvider<ClosingPriceCalculator> {

	public ClosingPriceSerieProvider() {
		super(new ClosingPriceCalculator());
	}

	@Override
	protected String getSerieName(Exchange exchcange) {
		return exchcange.getCompany().getName();
	}

}
